﻿namespace Sheep_Breeding.Read.Api.DTOSheep
{
    /// <summary>
    ///获取羊场管理数据Dto
    /// </summary>
    public class Sheepfarm_managementDto
    {
        public int SheepfarmId { get; set; }

        /// <summary>
        /// 羊场编码
        /// </summary>

        public string? FarmCode { get; set; }

        /// <summary>
        /// 羊场全称
        /// </summary>

        public string? FarmName { get; set; }

        /// <summary>
        /// 羊场简称
        /// </summary>

        public string? FarmShortName { get; set; }

        /// <summary>
        /// 羊场规模 - 外键
        /// </summary>
        public int? TheScaleOfSheepfarmId { get; set; }

        /// <summary>
        /// 羊场规模名称
        /// </summary>
        public string ThescalethsheepName { get; set; }

        /// <summary>
        /// 建账日期
        /// </summary>
        public DateTime? CreateDate { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>

        public string? Manager { get; set; }

        /// <summary>
        /// 详细地址
        /// </summary>

        public string? Address { get; set; }

        /// <summary>
        /// 管理部门
        /// </summary>

        public string? Department { get; set; }

        /// <summary>
        /// 状态 - 默认true启用
        /// </summary>
        public bool Status { get; set; } = true;

        /// <summary>
        /// 创建人
        /// </summary>

        public string? Creator { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 修改人
        /// </summary>

        public string? Modifier { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? ModifyTime { get; set; }

        /// <summary>
        /// 删除标记 - 默认false
        /// </summary>
        public bool IsDelete { get; set; } = false;
    }

    /// <summary>
    /// 羊场管理查询分页Dto
    /// </summary>
    public class SearchSheepfarm_managementQueryDto
    {
        public int PageIndex { get; set; } = 1;

        public int PageSize { get; set; } = 10;


        /// <summary>
        /// 羊场全称
        /// </summary>
        public string? FarmName { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string? Manager { get; set; }
    }

    /// <summary>
    /// 查找栋舍管理Dto
    /// </summary>
    public class SearchforbuildinginfoDto
    {
        public int BuildingId { get; set; }

        /// <summary>
        /// 栋舍类型（外键，下拉框选择）
        /// </summary>
        public int House_typeId { get; set; }

        /// <summary>
        /// 栋舍名称
        /// </summary>
        public string DongsheName { get; set; }

        /// <summary>
        /// 栋舍名称
        /// </summary>
        public string House_name { get; set; }

        /// <summary>
        /// 负责人姓名
        /// </summary>
        public string Manager { get; set; }

        /// <summary>
        /// 生产相关人员
        /// </summary>
        public string Producer { get; set; }

        /// <summary>
        /// 当前状态（默认true启用）
        /// </summary>
        public bool Status { get; set; } = true;

        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }

        /// <summary>
        /// 创建人姓名
        /// </summary>
        public string Creator { get; set; }

        /// <summary>
        /// 创建的时间
        /// </summary>
        public DateTime Create_time { get; set; }

        /// <summary>
        /// 修改人姓名
        /// </summary>
        public string Modifier { get; set; }

        /// <summary>
        /// 修改的时间
        /// </summary>
        public DateTime? Modify_time { get; set; }

        /// <summary>
        /// 删除标记（默认false）
        /// </summary>
        public bool IsDelete { get; set; } = false;
    }

    /// <summary>
    /// 栋舍管理分页查询Dto
    /// </summary>
    public class SearchBuildingManagementDto
    {
        public int PageIndex { get; set; } = 1;

        public int PageSize { get; set; } = 10;

        /// <summary>
        /// 栋舍类型（外键，下拉框选择）
        /// </summary>
        public int House_typeId { get; set; }

        /// <summary>
        /// 栋舍名称
        /// </summary>
        public string ?House_name { get; set; }

        /// <summary>
        /// 负责人姓名
        /// </summary>
        public string ?Manager { get; set; }
    }

    /// <summary>
    /// 查找栏位管理分页条件Dto
    /// </summary>
    public class SearchField_managementDto
    {
        public int PageIndex { get; set; } = 1;

        public int PageSize { get; set; } = 10;

        /// <summary>
        /// 栋舍管理外键
        /// </summary>
        public int BuildingId { get; set; }
    }
}
